package com.qida.clm.core.network;

/**
 * Created by xiexiang on 2015/10/18.
 * 自定义网络异常
 */
public class ResponseException extends Exception{
	private int responseCode;
    public ResponseException(String message, Throwable e){
        super(message,e);
    }

    public ResponseException(int errorCode,String message){
        super(message);
        this.responseCode = errorCode;
    }

    public int getErrorCode(){
    	return responseCode;
    }
}